package models;

import java.io.Serializable;

import javax.persistence.*;

import play.db.jpa.Model;

import java.math.BigInteger;


/**
 * The persistent class for the outras_organizacoes database table.
 * 
 */
@Entity
@Table(name="outras_organizacoes")
public class OutrasOrganizacoe extends Model {
	
	@Lob @Basic(fetch=FetchType.LAZY) 
	private String descricao;

	@Lob @Basic(fetch=FetchType.LAZY) 
	@Column(nullable = true, length = 5242880)
	private byte[] foto;

	@Lob @Basic(fetch=FetchType.LAZY) 
	private String historico;

	@Lob @Basic(fetch=FetchType.LAZY) 
	private String missao;
	
	@Column(nullable = false)
	@Basic(optional = false)
	private String nome;

	private BigInteger version;

}